/**
 * http请求用到的数据
 * Created by douxc on 2015/4/26.
 */
define(function () {
  var host = '/wgg/';
  return {
    Code: {
      'OK': 0,
      'NOT_LOGIN': -1
    },
    URL: {
      'login': host + 'validate_phone',
      'quote': 'static_data/quote.json',//报价列表
      'projects': host + 'page/gardens_phone',//工期提报列表
      'process': host + 'page/garden_process_phone',//工序列表
      'procedure': host + 'page/garden_process_procedure_phone',//流程列表
      'start_procedure': host + 'phone/start_garden_process',//开始流程
      'modules': host + 'page/garden_process_mode_phone',//模块列表
      'material_submit': host + 'page/report_cost_data',//提交模块下的材料
      'project_add': host + 'page/garden_mode_cost_phone',//提报列表-新增
      //'feeds': 'static_data/quote.json',//提料列表
      'fees_search': host + 'page/material_key_search',//模糊查询材料
      'costreport': host + 'phone/costreport',//完结申请
      'query_cost': host + 'page/show_garden_procedure_finishinfo',//获取完结详情
      'cost_check': host + 'phone/checked_procedure',//审批申请
      'feed_apply': host + 'phone/mention_gardens',//提料申请
      'feed_submit': host + 'page/mention_add',//提料提交
      'verify': host + 'phone/invoices_manager_noverify',//待审批签单列表
      'has_verify': host + 'phone/invoices_manager_arlverify',//已审批
      'my_verify_list': host + 'phone/invoices_my',//我的签单列表
      'verify_detail': host + 'phone/invoiceapply_details',//签单详情
      'invoice_type': host + 'phone/invoice_type',//新建签单的单据类型
      'save_verify': host + 'phone/saveInvoiceApply',//保存签单申请
      'verify_quote': host + 'phone/approvalviews',//审批签单
      'messages': host + 'page/chatrecords?aid=',//消息列表
      'buildings': host + 'phone/estate_geosearch',//搜索附近楼盘
      'building_detail': host + 'page/show_estate',//楼盘详情
      'search_by_name': host + 'page/estate_key_search',//楼盘名称查询
      'search_marketer': host + 'phone/users',//营销负责人搜索
      'city_search': host + 'phone/city_id?id=',//根据id搜索城市信息
      'visit_add': host + 'phone/add_gis_visit',//走访数据提交
      'visit_query': host + 'phone/show_gis_visit?estateId=',//根据id查询楼盘走访数据
      'validate_renovation': host + 'phone/validate_visit_renovation',//装修户房间号查询
      'add_renovation': host + 'phone/add_visit_renovation',//新增装修户数据
      'validate_occupancy': host + 'phone/validate_visit_occupancy',//入住户房间号查询
      'add_occupancy': host + 'phone/add_visit_occupancy',//新增入住户数据
      'sales_add': host + 'phone/add_gis_sales',//销售数据提交
      'sales_query': host + 'phone/show_gis_sales?estateId=',//根据id查询楼盘销售数据
      'city_list' : host + 'data/citylist_phone',//获取城市列表
      'estate' : host + 'data/estate_phone',//根据城市查询数据
      'save_tempMode':host+'page/add_garden_cost_procedure_temp',//保存临时模块
      'save_tempPlan':host+"page/add_garden_cost_procedure_plant",//保存临时模块下的计划成本材料
      'del_tempMode':host+"page/del_garden_temp_mode", //删除模块
      'supplier_list':host+"page/material_search_phone_id",//返回所有材料列表
      'exportBuildPrice':host+ "page/exportBuildPrice_phone",//提交报价数据
      'img_upload': host + 'phone/fileupload', //上传文件
      'feedManage': host + 'page/ mention_manage_phone', // 管理提料 W
      'cancel_req': host + 'page/cancel_mention_phone',// 取消提料申请 W
      'storage_add': host + 'page/material_storage_add_phone', //入库验收 W
      'record_list': host + 'page/material_seed_append_phone', //获取苗木资料列表 W
      'record_add_last': host + 'page/add_material_seed_append_phone' //提交苗木下半部 W
    }
  }
});
